package china.song314.testcode;

import java.util.Random;

public class TestRandon {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Random r = new Random();
		for (int i = 0; i < 100; i++) {
			print("i = " + i + ", r.nextInt = " + r.nextInt(10));
		}
	}

	private static void print (String msg) {
		System.out.println(msg);
	}
}
